  <?php foreach( $this->paginator as $user ): ?>
    <div class='whosonline_thumb'>
      <?php echo $this->htmlLink($user->getHref(), $this->itemPhoto($user, 'thumb.icon', $user->getTitle()), array('title'=>$user->getTitle())) ?>
    </div>
  <?php endforeach; ?>
  
  <?php if( $this->guestCount ): ?>
    <div class="online_guests">
      <?php echo $this->translate(array('%s guest online', '%s guests online', $this->guestCount),
          $this->locale()->toNumber($this->guestCount)) ?>
    </div>
  <?php endif ?>
  <script type="text/javascript">
  en4.core.runonce.add(function() {	  
	if($$('.layout_user_list_online').getElement('h3')[0])
		$$('.layout_user_list_online').getElement('h3').set('html', '<?php echo $this->translate(array('%d Member Online', '%d Members Online', $this->membercount), $this->locale()->toNumber($this->membercount));?>');

	if($$('.tab_layout_user_list_online').getElement('a')[0])
		$$('.tab_layout_user_list_online').getElement('a').set('html', '<?php echo $this->translate(array('%d Member Online', '%d Members Online', $this->membercount), $this->locale()->toNumber($this->membercount));?>');
	});
  </script>